﻿
Imports System.IO
Imports System.Reflection

Public Class Images

#Region "Methods"

    Public Shared Function GetIImageFromResource(ByVal resource As String) As MemoryStream
        Return DirectCast(Assembly.GetExecutingAssembly.GetManifestResourceStream(("SenseSDKExtended.Resources.VGA.SenseSDKExtended.Resources.VGA.images." & resource & ".png")), MemoryStream)
    End Function

#End Region

End Class

